<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI简历分析</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <header>
        <h1>AI简历分析</h1>
        <nav>
                <ul>
                    <li><a href="#home">登录入口</a></li>
                <li><a href="#about">系统功能</a></li>
            </ul>
        </nav>
    </header>

    <main>
        <section id="home">
            <h2>登录入口</h2>
            <div id="loginArea">
                <form id="loginForm">
                    <div class="form-group">
                        <label for="username">用户名:</label>
                        <input type="text" id="username" name="username" required>
                    </div>
                    <div class="form-group">
                        <label for="password">密码:</label>
                        <input type="password" id="password" name="password" required>
                    </div>
                    <button type="submit" id="loginBtn">登录</button>
                </form>
                <p id="loginMessage" style="margin-top: 15px; display: none;"></p>
                <p style="margin-top: 15px;">还没有账号？<a href="#" id="showRegisterLink">立即注册</a></p>
            </div>
            
            <div id="registerArea" style="display: none;">
                <h3>用户注册</h3>
                <form id="registerForm">
                    <div class="form-group">
                        <label for="regUsername">用户名:</label>
                        <input type="text" id="regUsername" name="regUsername" required>
                    </div>
                    <div class="form-group">
                        <label for="regPassword">密码:</label>
                        <input type="password" id="regPassword" name="regPassword" required>
                    </div>
                    <div class="form-group">
                        <label for="regConfirmPassword">确认密码:</label>
                        <input type="password" id="regConfirmPassword" name="regConfirmPassword" required>
                    </div>
                    <button type="submit" id="registerBtn">注册</button>
                </form>
                <p id="registerMessage" style="margin-top: 15px; display: none;"></p>
                <p style="margin-top: 15px;">已有账号？<a href="#" id="showLoginLink">返回登录</a></p>
            </div>
        </section>

        <section id="about">
            <h2>系统功能</h2>
            <div class="feature-list">
                <div class="feature-item">
                    <h3>智能简历分析</h3>
                    <p>利用先进的AI技术，快速解析简历内容，提取关键信息。</p>
                </div>
                <div class="feature-item">
                    <h3>匹配度评估</h3>
                    <p>根据职位要求，自动评估简历与岗位的匹配度，提供详细分析报告。</p>
                </div>
                <div class="feature-item">
                    <h3>关键词提取</h3>
                    <p>智能识别简历中的核心技能、工作经验和教育背景关键词。</p>
                </div>
                <div class="feature-item">
                    <h3>格式化处理</h3>
                    <p>自动优化简历结构，提升简历专业性和可读性。</p>
                </div>
            </div>
        </section>
    </main>

    <footer>
        <p>&copy; 2025 AI简历分析系统. 保留所有权利。</p>
    </footer>

    <script src="script.js"></script>
</body>
</html>